#ifndef TESTFORM_H
#define TESTFORM_H

#include <QWidget>
#include <QFrame>
#include "commonwidget.h"
namespace Ui {
class CTestForm;
}

class CTestForm : public CCommonWidget
{
    Q_OBJECT

public:
    explicit CTestForm(QWidget *parent, CommonWndFlags WndFlag = enum_UXApplication);
    ~CTestForm();

public:
    void Create();
    void Destroy();

    void BuildUI();

    void BuildScoreDetailTable(bool bWin);

    QFrame* BuildScoreDetailItem(QWidget* parent,int width,int height,QString tip,int score,int leftMargin = 14,int rightMargin = 20);

    QFrame* BuildScoreDetailItem2(QWidget* parent,int width,int height,QString tip,QString score_detail,int leftMargin = 14,int rightMargin = 20);
protected slots:
    void Close();

private:
    Ui::CTestForm *ui;

    int m_iUiHeight = 46;       //默认为标题高度
};

#endif // TESTFORM_H
